package com.hxkcloud.patient.viewholders;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.hxkcloud.patient.R;

/**
 * Created by william_sun on 2016-07-07.
 * Description:评估记录
 */
public class AssessRecordViewholder extends RecyclerView.ViewHolder {
    public RelativeLayout ll_root;
    public TextView tv_name;
    public TextView tv_answer;
    public TextView tv_date;
    public Button btn_select;
    public ImageView arrowIV;

    public TextView gradetextTV;
    public TextView gradeTV;
    public TextView scoretextTV;
    public TextView scoreTV;
    public TextView doctorTV;
    public TextView doctornameTV;
    public TextView patientTV;
    public TextView answerTV;

    public View bottomView;
    public View topView;


    public AssessRecordViewholder(View itemView) {
        super(itemView);

        ll_root = (RelativeLayout) itemView.findViewById(R.id.ll_assessrecordlist_root);
        tv_name = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_name);
        tv_answer = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_answer);
        tv_date = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_date);

        btn_select = (Button) itemView.findViewById(R.id.btn_assessrecordlist_select);
        arrowIV = (ImageView) itemView.findViewById(R.id.iv_assessrecordlist_arrow);

        gradetextTV = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_gradetext);
        gradeTV = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_grade);
        scoretextTV  = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_scoretext);
        scoreTV  = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_score);
        doctorTV  = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_doctor);
        doctornameTV  = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_doctorname);
        patientTV  = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_patient);
        answerTV  = (TextView) itemView.findViewById(R.id.tv_assessrecordlist_answer);
        bottomView = (View) itemView.findViewById(R.id.assessrecordlist_bottomview);

        topView = (View) itemView.findViewById(R.id.assessrecordlist_topview);

    }
}
